package cc.jethro.jdxyq.banner;

import android.content.Context;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.youth.banner.loader.ImageLoader;

/**
 * Created by jethr on 2017/5/10.
 */

public class GlideImageLoader extends ImageLoader {
    @Override
    public void displayImage(Context context, Object o, ImageView imageView) {
        Integer image = (Integer) o;
        Glide.with(context).load(image).into(imageView);
    }
}
